MediaPreroll
TheMediaPreroll
function allows the Movie Toolbox to prepare your media handler for playback.
pascal ComponentResult MediaPreroll (ComponentInstance ci, TimeValue time, Fixed rate);
ci
- Identifies the Movie Toolbox's connection to your derived media handler.
time
- Contains the starting time of the media segment to play. This time value is expressed in your media's time scale.
rate
- Specifies the rate at which the Movie Toolbox expects to play the media. This is a 32-bit, fixed-point number. Positive values indicate forward rates; negative values correspond to reverse rates.
DESCRIPTION
Use this as an opportunity to load data from your media, so that when the Movie Toolbox starts to play, your media can play smoothly from the start.RESULT CODES
Any Component Manager result code
Main | Top of Section | What's New | Apple Computer, Inc. | Find It | Feedback | Help